/**
 * 
 */
package GUI.main.navigation;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Insets;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.border.EtchedBorder;

/**
 * patient specific nav panel to be placed in nav panel.
 * @author mramsey3
 *
 */
public class PatientNavigationMenuPanel extends JPanel implements MouseListener{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private JButton viewHistory;

    /**
     * 
     */
    public PatientNavigationMenuPanel(){
	super();
	setLayout(new BorderLayout());
	setPreferredSize(new Dimension(180,450));
	add(getViewHistory(),BorderLayout.CENTER);
    }
    /**
     * @author mramsey3
     * @return
     */
    public JButton getViewHistory() {
	if(viewHistory == null){
	    viewHistory = new JButton("View History");
	    viewHistory.setPreferredSize(new Dimension(150,25));
	    viewHistory.setMargin(new Insets(0,0,0,0));
	    viewHistory.setFont(new Font(Font.SANS_SERIF, Font.PLAIN, 12));
	    viewHistory.putClientProperty("JButton.buttonType", "textured");
	    viewHistory.addMouseListener(this);
	}
        return viewHistory;
    }

    /**
     * @author mramsey3
     * @param viewHistory
     */
    public void setViewHistory(JButton viewHistory) {
        this.viewHistory = viewHistory;
    }
    @Override
    public void mouseClicked(MouseEvent arg0) {
	// TODO Auto-generated method stub
	
    }
    @Override
    public void mouseEntered(MouseEvent arg0) {
	// TODO Auto-generated method stub
	
    }
    @Override
    public void mouseExited(MouseEvent arg0) {
	// TODO Auto-generated method stub
	
    }
    @Override
    public void mousePressed(MouseEvent arg0) {
	// TODO Auto-generated method stub
	
    }
    @Override
    public void mouseReleased(MouseEvent arg0) {
	// TODO Auto-generated method stub
	
    }

}
